-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add db.sql stat collector #5146
Conversation
5d9f284
to
8fe71f7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5146 +/- ##
==========================================
+ Coverage 72.88% 72.99% +0.10%
==========================================
Files 439 439
Lines 51159 51165 +6
==========================================
+ Hits 37288 37346 +58
+ Misses 11419 11368 -51
+ Partials 2452 2451 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also get rid of sqlutil.MonitorDatabase usage as well.
Description
In this PR, database stats collect is added in all sql.DB instances. This will allow us to monitor open/close connection and connections waiting.
Some additional modifications where due to:
Linear Ticket
https://linear.app/rudderstack/issue/PRI-48/collect-database-sql-stats
resolves PRI-48
Security